Skip to content

Dynamic Middleware Registration & Request Context Propagation Middleware#403

Merged
phertyameen merged 4 commits intoMindBlockLabs:mainfrom
ayshadogo:explorer
Mar 27, 2026
Merged

Dynamic Middleware Registration & Request Context Propagation Middleware#403
phertyameen merged 4 commits intoMindBlockLabs:mainfrom
ayshadogo:explorer

Conversation

@ayshadogo
Copy link
Copy Markdown
Contributor

This PR Enables middleware to be toggled on and off at runtime via an admin endpoint — without restarting the server. Useful for feature flags, emergency kill switches, and gradual rollouts.

Closes #394

And also Provides a clean way to share request-scoped data (user, requestId, traceId) across the entire middleware and service layer without passing it through every function signature.

closes #356

@phertyameen phertyameen merged commit bed1692 into MindBlockLabs:main Mar 27, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic Middleware Registration Request Context Propagation Middleware

2 participants